package com.dragon.pear.models.result;

import io.swagger.v3.oas.annotations.media.Schema;
import java.sql.Timestamp;

/**
 * @author Chris Chan
 * Create on 2025-09-30 22:44
 * Use for: 收藏夹 响应结果
 * Explain:
 * 
 */
@Schema(description = "收藏夹 请求响应结果")
public class TradeGoodsFavoritesResult {
    @Schema(description = "ID", example = "1")
    private long id;
    @Schema(description = "用户账号", example = "1")
    private long accountCode;
    @Schema(description = "商品编码", example = "1")
    private long code;
    @Schema(description = "收藏时间", example = "1")
    private long time;

    // 无参构造方法
    public TradeGoodsFavoritesResult() {
    }

    // 全参数构造方法
    public TradeGoodsFavoritesResult(long id, long accountCode, long code, long time) {
        this.id = id;
        this.accountCode = accountCode;
        this.code = code;
        this.time = time;
    }

    // 全参数create生成器
    public static TradeGoodsFavoritesResult create(long id, long accountCode, long code, long time) {
        return new TradeGoodsFavoritesResult(id, accountCode, code, time);
    }

    // 全参数of生成器
    public static TradeGoodsFavoritesResult of(long id, long accountCode, long code, long time) {
        return new TradeGoodsFavoritesResult(id, accountCode, code, time);
    }
    // region Getter和Setter方法
    public long getId() {
        return id;
    }

    public TradeGoodsFavoritesResult setId(long id) {
        this.id = id;
        return this;
    }

    public long getAccountCode() {
        return accountCode;
    }

    public TradeGoodsFavoritesResult setAccountCode(long accountCode) {
        this.accountCode = accountCode;
        return this;
    }

    public long getCode() {
        return code;
    }

    public TradeGoodsFavoritesResult setCode(long code) {
        this.code = code;
        return this;
    }

    public long getTime() {
        return time;
    }

    public TradeGoodsFavoritesResult setTime(long time) {
        this.time = time;
        return this;
    }

    // endregion Getter和Setter方法
}
